﻿using System.Data.Entity;
using System.Collections.Generic;

namespace Infrastructure.Data.Uow
{
    public interface UnitOfWorkIQueryable : Domain.Uow.IUnitOfWork
    {
        System.Data.Entity.IDbSet<T> SetEntity<T>() where T : Domain.Entity.EntityBase;

        IEnumerable<TEntity> ExecuteQuery<TEntity>(string sqlQuery, params object[] parameters);

        int ExecuteCommand(string sqlCommand, params object[] parameters);

    }
}
